package com.zxs.admin.service.impl;

import client.OrderClient;
import com.zxs.admin.service.OrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import parm.PageParam;
import utils.R;

/**
 * @author zxs
 * *9 20:58
 */
@Service
@Slf4j
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderClient orderClient;

    @Override
    public Object list(PageParam pageParam) {
        R r = orderClient.adminList(pageParam);
        return r;
    }
}
